﻿@model Home.Site.Models.Account.RegisterModel
@{
    ViewBag.Title = ViewBag.Message;
}

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset>
        <ol class="unstyled">
            <li>
                @Html.LabelFor(m => m.UserName,"Логин")
                @Html.TextBoxFor(m => m.UserName)
            </li>
            <li>
                @Html.LabelFor(m => m.Password,"Пароль")
                @Html.PasswordFor(m => m.Password)
            </li>
            <li>
                @Html.LabelFor(m => m.ConfirmPassword,"Подтвердите пароль")
                @Html.PasswordFor(m => m.ConfirmPassword)
            </li>
        </ol>
        <input type="submit" class="btn btn-success" value="Зарегистрироваться" />
    </fieldset>
}
<section class="social" id="socialLoginForm">
    @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl })
</section>
@section Scripts {
    @Scripts.Render("~/jqueryval")
}
